home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 4
/
The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO
/
wp
/
gsar106.zip
/
ARG_FUNC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-01
|
928b
|
25 lines
/* arg_func.h ************************************** updated: 930308.19:30 TT
*
* Description : Header file for arg_func.c
* Author : Tormod Tjaberg
*/
/* variables and defines used by GetOpt
*/
extern int OptInx; /* index into argv, skip argv[0]; filename */
extern int CurOpt; /* current option checked for validity */
extern char *pOptArg; /* argument associated with option */
#define BAD_CHAR (int) 1 /* option char not in option string */
#define MISSING_OPT (int) 2 /* switch character '-' but no option */
#define MISSING_ARG (int) 3 /* option required argument but none found */
#define NON_OPT (int) 3 /* non option found '|' not in option string */
/* function prototypes
*/
int GetOpt( int argc, char **argv, char *pOptStr );
int GetEnvArgs( int *argc, char ***argv, char *pEnvVar );
void Abort( char *,... );